package com.hpe.wx.performance.redis.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hpe.wx.performance.redis.dao.PerformanceRedisDao;

@Service
public class RedisExampleServerImpl implements RedisExampleServer {
	
	@Autowired
	private PerformanceRedisDao dao;

	@Override
	public Long zAddData(String key, double score, String member) {
		dao.add(key, member);
		int h = dao.hashCode();
		System.out.println("#######################"+h);
		return null;
	}
}
